package com.magicborrow.holder;

import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.ImageView;
import android.widget.RatingBar;
import android.widget.TextView;

import com.magicborrow.R;

/**
 * Created by Administrator on 2016/5/27.
 */
public class ApplySendItemViewHolder extends RecyclerView.ViewHolder{

    public TextView lip;
    public ImageView imvHead;
    public TextView tvName;
    public TextView statusMsg;
    public RatingBar rbPingfen;
    public TextView commentCountMsg;
    public ImageView good_pic;
    public TextView good_name;
    public TextView borrowTime;
    public TextView borrowShichang;
    public TextView tv_address;
    public TextView shouldPay;
    public TextView contactTa;
    public TextView cancelBorrow;

    public ApplySendItemViewHolder(View view) {
        super(view);
        lip = (TextView)view.findViewById(R.id.lip);//提示头

        imvHead = (ImageView)view.findViewById(R.id.imv_head);
        tvName = (TextView)view.findViewById(R.id.tv_name);
        rbPingfen = (RatingBar)view.findViewById(R.id.rb_pingfen);
        commentCountMsg = (TextView)view.findViewById(R.id.commentCountMsg);//分数
        //commentCountPerson = (TextView)view.findViewById(R.id.commentCountPerson);//评价人数
        statusMsg = (TextView)view.findViewById(R.id.statusMsg);//借出借入状态

        good_pic = (ImageView)view.findViewById(R.id.good_pic);
        good_name = (TextView)view.findViewById(R.id.good_name);
        borrowTime = (TextView)view.findViewById(R.id.borrowTime);
        borrowShichang = (TextView)view.findViewById(R.id.borrowShichang);
        tv_address = (TextView)view.findViewById(R.id.tv_address);
        shouldPay = (TextView)view.findViewById(R.id.shouldPay);
       // contactTa = (TextView)view.findViewById(R.id.contactTa);
        //cancelBorrow = (TextView)view.findViewById(R.id.cancelBorrow);
    }
}
